import React from 'react';
import styles from './index.less';
import { Link } from 'umi';

const NoFoundPage: { (): JSX.Element; path: any } = () => {
  return (
    <div className={styles.bg}>
      <h1 className={styles.title}>404</h1>
      <Link to="/">Go to home page</Link>
    </div>
  );
};

NoFoundPage.path = undefined;

export default NoFoundPage;
